import React,{useState} from 'react'
import ChartBar from './components/ChartBar'
export default function App() {
  const [optionsData]=useState(
    [
      {name:'知乎',value:34},
      {name:'知了课堂',value:23},
      {name:'美团',value:28},
      {name:'百度',value:90}
    ])
  return (
    <div>
       <ChartBar optionsData={optionsData} height={"380px"} seriesName="招生人数" title="某培训机构2021全年招生情况"></ChartBar>
    </div>
  )
}
